<?php

namespace App\Models\OpenShop\Organization;

use App\Models\BaseModel;
use App\Models\OpenShop\InvestmentPromotion\OpenShopOrganizationManageModel;
use App\Models\Traits\KfSoftDeletes;
use App\Models\Traits\KfUid;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Relations\HasOne;

class OpenShopRegionManageMappingModel extends BaseModel
{
    use HasFactory, KfSoftDeletes, KfUid;

    protected $table = "open_shop_region_manage_mapping";


    /**
     * @return HasOne
     */
    public function organizationManageRel(): HasOne
    {
        return $this->hasOne(OpenShopOrganizationManageModel::class, "id", "manageId");
    }
}
